﻿




using System.Collections.Generic;
using Hotpot.Models;
using Hotpot.Modules.Blogs.Models;
using Hotpot.Modules.Files.Models;

namespace Hotpot.Modules.Blogs.Services
{
    public interface IBlogsFileService
    {
        File GetFile(string url);
        IEnumerable<File> GetFiles(Post post);
        ModelResult<File> AddFile(Post post, FileInput fileInput);
        ModelResult<File> AddFile(Post post, FileContentInput fileInput);
        ModelResult<File> EditFile(Post post, File file, FileInput fileInput);
        ModelResult<File> EditFile(Post post, File file, FileContentInput fileInput);
        bool RemoveFile(Post post, File file);
    }
}
